#ifndef CHOOSEMODE_H
#define CHOOSEMODE_H

#include <QWidget>
#include "mainwindow.h"
#include "client.h"
#include "myclientsocket.h"
#include "handlemessage.h"

namespace Ui {
class ChooseMode;
}

class ChooseMode : public QWidget
{
    Q_OBJECT

public:
    explicit ChooseMode(MyClientSocket * socket,handlemessage * handlemessage,QWidget *parent = nullptr);
    ~ChooseMode();

private slots:
    void on_playAiBtn_clicked();

    void on_playGamerBtn_clicked();

private:
    Ui::ChooseMode *ui;

    //Client * m_socket;
    MyClientSocket * m_socket;

    MainWindow * m_mainWindow;

    handlemessage * m_handlemessage;
};

#endif // CHOOSEMODE_H
